

#ifndef NODELEFTPARENTH_H
#define	NODELEFTPARENTH_H

#include <QtGui>
#include "Node.h"
#include "EditOperator.h"

class NodeLeftParenth : public Node {
    Q_OBJECT

public:
    NodeLeftParenth();

    QString toCasString() const;

    QString toPrintString() const;

    QString toParseString() const;

    int getInputPosition(bool& found) const;

    void setInputPosition(int& position);

private:
    EditOperator * leftPar();
    EditOperator * rightPar();
    const EditOperator * leftPar() const;
    const EditOperator * rightPar() const;

};


#endif	/* NODELEFTPARENTH_H */

